<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	<h:form>
	<p:accordionPanel activeIndex="0" autoHeight="false"
		value="#{loginBean.resources}" var="parent">
		<p:tab title="#{parent.res.name}">
			<ul>
				<p:dataList value="#{parent.sons}" var="son" itemType="square">
					<h:outputLink value="#{request.contextPath}#{son.res.url}">#{son.res.name}
						<f:param name="resourceUrl" value="#{son.res.url}"/>
					</h:outputLink>
				</p:dataList>
			</ul>
		</p:tab>
	</p:accordionPanel>
	</h:form>
</ui:composition>